package dq.study.aop;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.*;

/**
 * @author dongqun
 * @date 2020/2/20 13:21
 */
@EnableAspectJAutoProxy
@Configuration
public class MyAopConfig {
    @Bean
    public Business business() {
        return new Business();
    }

    @Bean
    public MyAspect aspect() {
        return new MyAspect();
    }
}
